<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" 
    pageEncoding="utf-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<%@ include file="../header.jsp"%>
	<script type="text/javascript" src="<%=resourceBase%>customJS/site/siteManagement.js"></script>
	<script type="text/javascript" src="<%=resourceBase%>customJS/common/commonFunc.js"></script>
  </head>
	<body>
		<div id="body-wrapper">
			<!-- Wrapper for the radial gradient background -->

			<!-- sidebar.jsp -->
			<%@ include file="../sidebar.jsp"%>
			<div id="gridContent">
				<!-- Main Content Section with everything -->

				<!-- Page Head -->
				<h2>
					站点信息
				</h2>
				<p id="page-intro">
					对站点信息的管理
				</p>
				<table id="gridTable"></table>
				<div id="gridPager">

				</div>
				<div>
					<button class="right-button02" onclick="openDialog4Adding()">
						添加
					</button>
					<button class="right-button02" onclick="openDialog4Updating()">
						修改
					</button>
					<button class="right-button02" onclick="openDialog4Deleting()">
						删除
					</button>

				</div>
				<div id="consoleDlg">
					<div id="formContainer">
						<form id="consoleForm">
							<table class="formTable">
								<tr>
									<th>
										<span style="color:red">*</span>站点编号：
									</th>
									<td>
										<input type="text" class="textField" id="id" name="id" maxlength="20"/>
									</td>
									<th>
										<span style="color:red">*</span>站点名称:
									</th>
									<td>
										<input type="text" class="textField" id="name" name="name" maxlength="50"/>
									</td>
									<th>
										<span style="color:red">*</span>监测类别：
									</th>
									<td>
										<select class="select" id="monitorType" name="monitorType">
											<option value="no">
												--请选择--
											</option>
										</select>
									</td>
									<th>
										<span style="color:red">*</span>区域名称:
									</th>
									<td>
										<select class="select" id="area" name="area">
											<option value="no">
												--请选择--
											</option>
										</select>
									</td>
								</tr>
								<tr>
									<th>
										<span style="color:red">*</span>流域:
									</th>
									<td>
										<select class="select" id="valleyname" name="valleyname">
											<option value="no">
												--请选择--
											</option>
										</select>
									</td>
									<th>
										<span style="color:red">*</span>水系:
									</th>
									<td>
										<select class="select" id="waterSystem" name="waterSystem">
											<option value="no">
												--请选择--
											</option>
										</select>
									</td>
									<th>
										<span style="color:red">*</span>断面:
									</th>
									<td>
										<select class="select" id="alongSide" name=""alongSide"">
											<option value="no">
												--请选择--
											</option>
										</select>
									</td>	
									<th>
										GPRS通讯码:
									</th>
									<td>
										<input type="text" class="textField" id="gprsID" name="gprsID" maxlength="15"/>
									</td>								
								</tr>
								<tr>
									<th>
										<span style="color:red">*</span>评测标准:
									</th>
									<td>
										<select class="select" id="quality" name="quality">
											<option value="no" selected>
												--请选择--
											</option>
											<option value="1">
												I
											</option>
											<option value="2">
												II
											</option>
											<option value="3">
												III
											</option>
											<option value="4">
												IV
											</option>
											<option value="5">
												V
											</option>
											<option value="1">
												劣V
											</option>
										</select>
									</td>
									<th>
										联系人:
									</th>
									<td>
										<input type="text" class="textField" id="contact" name="contact" maxlength="25"/>
									</td>
									<th>
										联系电话:
									</th>
									<td>
										<input type="text" class="textField" id="telephone" name="telephone" maxlength="25"/>
									</td>
									<th>
										移动电话:
									</th>
									<td>
										<input type="text" class="textField" id="mobile" name="mobile" maxlength="25"/>
									</td>
								</tr>
								<tr>
									<th>
										电子邮件:
									</th>
									<td>
										<input type="text" class="textField" id="eMail" name="eMail" maxlength="50"/>
									</td>
									<th>
										IP地址:
									</th>
									<td>
										<input type="text" class="textField" id="ipAddress" name="ipAddress" maxlength="50"/>
									</td>
									<th>
										IP端口:
									</th>
									<td>
										<input type="text" class="textField" id="port" name="port" maxlength="10"/>
									</td>
									<th>
										采集频率:
									</th>
									<td>
										<input type="text" class="textField" id="freqMin" name="freqMin" maxlength="10"/>
									</td>
								</tr>
								<tr>
									<th>
										位置固定:
									</th>
									<td>
										<select class="select" id="gpsFixed" name="gpsFixed">																				
											<option value="F" selected>
												否
											</option>
											<option value="T">
												是
											</option>
										</select>
									</td>
									<th>
										GPS经度坐标:
									</th>
									<td>
										<input type="text" class="textField" id="gpsLongitude" name="gpsLongitude" maxlength="10"/>
									</td>
									<th>
										GPS纬度坐标:
									</th>
									<td>
										<input type="text" class="textField" id="gpsLatitude" name="gpsLatitude" maxlength="10"/>
									</td>
								</tr>
								<tr>
									<th>
										备注：
									</th>
									<td>
										<textarea rows="2" cols="3" class="textArea" id="remark" name="remark" maxlength="100"></textarea>
										<br>
									</td>
									<th>
										GPS经度偏移量:
									</th>
									<td>
										<input type="text" class="textField" id="longitudeSetoff" name="longitudeSetoff" maxlength="10"/>
									</td>
									<th>
										GPS纬度偏移量:
									</th>
									<td>
										<input type="text" class="textField" id="latitudeSetoff" name="latitudeSetoff" maxlength="10"/>
									</td>
								</tr>
							</table>
						</form>
					</div>
				</div>
			</div>
		</div>
	<script type="text/javascript">$.setCurrentMenu('2_ZDXX');</script>
	</body>
</html>
